//**********操作日志***********/;
import request from '@/utils/request.js';

/**
 * 删除
 * @doc http://hanma-lesscode.hc-iiot.com/swagger-ui.html#!/
 * data 参数 // 类型 array
 * []integer
 * @returns
 * ********
 */
export function deleteHmoperationlog(data=[], config={}){
  return request({
    method: 'delete',
    data,
    url: `/api/hm-operation-log`,
    ...config,
  }) 
}

/**
 * 详情
 * @doc http://hanma-lesscode.hc-iiot.com/swagger-ui.html#!/
 * params 参数 
 * id:'', //id 必填
 * @returns
 * ********
 */
export function getHmoperationlogInfo(params={}, config={}){
  return request({
    method: 'get',
    params,
    url: `/api/hm-operation-log/info`,
    ...config,
  }) 
}

/**
 * 列表
 * @doc http://hanma-lesscode.hc-iiot.com/swagger-ui.html#!/
 * ********
 * @returns
 * ********
 */
export function getHmoperationlogList(config={}){
  return request({
    method: 'get',
    url: `/api/hm-operation-log/list`,
    ...config,
  }) 
}

/**
 * 分页列表
 * @doc http://hanma-lesscode.hc-iiot.com/swagger-ui.html#!/
 * params 参数 
 * submitter:'', //提交人 非必填
 * startTime:'', //开始时间 非必填
 * endTime:'', //结束时间 非必填
 * pageNo:'', //页码 非必填
 * pageSize:'', //每页数据条数 非必填
 * @returns
 * ********
 */
export function getHmoperationlogPageList(params={}, config={}){
  return request({
    method: 'get',
    params,
    url: `/api/hm-operation-log/page/list`,
    ...config,
  }) 
}